package com.pace.day02.profiles.bean;import org.springframework.stereotype.Component;/** * @Auther: Administrator * @Date: 2019/3/25 0025 23:29 * @Description: */@Componentpublic class Cat implements Animal{    @Override    public void eat() {        System.out.println("miao");    }}